package com.yunfeisoft.business.dao.impl;

import com.yunfeisoft.business.dao.inter.ReceiveMealApplyDao;
import com.yunfeisoft.business.model.ReceiveMealApply;
import com.yunfeisoft.common.base.BaseDaoImpl;
import com.yunfeisoft.common.sql.builder.WhereBuilder;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * ClassName: ReceiveMealApplyDaoImpl
 * Description: 接待用餐申请单Dao实现
 * Author: Jackie liu
 * Date: 2020-01-09
 */
@Repository
public class ReceiveMealApplyDaoImpl extends BaseDaoImpl<ReceiveMealApply, String> implements ReceiveMealApplyDao {

    @Override
    public Page<ReceiveMealApply> queryPage(Map<String, Object> params) {
        WhereBuilder wb = new WhereBuilder();
        if (params != null) {
            initPageParam(wb, params);
        }
        return queryPage(wb);
    }
}